
<?php
print_r($data);
    foreach($data as $row)
    {
        echo $row->name;
        echo "<br />";
    }
?>